.h-rate {
  --h-rate-height: 20px;
  --h-rate-font-size: var(--h-font-size-base);
  --h-rate-icon-size: 18px;
  --h-rate-icon-margin: 6px;
  --h-rate-void-color: var(--h-border-color-darker);
  --h-rate-fill-color: #f7ba2a;
  --h-rate-disabled-void-color: var(--h-fill-color);
  --h-rate-text-color: var(--h-text-color-primary);
}

.h-rate {
  display: inline-flex;
  align-items: center;
  height: 32px;
}

.h-rate__item {
  cursor: pointer;
  display: inline-block;
  position: relative;
  /* font-size: 0; */
  vertical-align: middle;
  color: var(--h-rate-void-color);
  line-height: normal;
}

.h-rate .h-rate__icon {
  position: relative;
  display: inline-block;
  font-size: var(--h-rate-icon-size);
  margin-right: var(--h-rate-icon-margin);
  transition: var(--h-transition-duration);
}

.el-icon {
  --color: inherit;
  height: 1em;
  width: 1em;
  line-height: 1em;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  position: relative;
  fill: currentColor;
  color: var(--color);
  font-size: inherit;
}

.h-rate .h-rate__icon.is-active {
  color: var(--h-rate-fill-color);
}

.h-rate--large {
  height: 40px;
}

.h-rate--small {
  height: 24px;
}

.h-rate--small .h-rate__icon {
  font-size: 14px;
}

.h-rate__decimal {
  position: absolute;
  top: 0;
  left: 0;
  display: inline-block;
  overflow: hidden;
  color: var(--el-rate-fill-color);
}

.h-rate.is-disabled .h-rate__item {
  cursor: auto;
  color: var(--h-rate-disabled-void-color);
}

.el-icon svg {
  height: 1em;
  width: 1em;
}